package com.qwz.extend;
/**
* @Description: 支付到银行卡
* @Package com.qwz.extend.Card
* @author Qiuwuzhi
* @date 2019/12/25 15:06
* @version V1.0
*/
public class Card implements PayStrategy {
    public void pay(PaymentContent content) {
        PaymentContent2 content2 = (PaymentContent2) content;

        System.out.println("现在给"+content2.getUsername()+"的"+content2.getAccount()+"账号支付了"+content2.getMoney()+"元");
    }
}
